#!/bin/bash


rm -fr ./bin/*
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build --ldflags '-extldflags "-static"' -o ./bin/provider
cp ./polaris.yaml ./Dockerfile ./bin/*
tar czf bin.tar.gz ./bin/*

